<div id="content_header">
  <h3>{{ currentDisc.Amount }} Editing</h3>
</div>
<div class="row">
  <form name="cityForm" role="form" ng-submit="updateDisc()">

    <div class="form-group">
      <label for="amount">
        Discount Amount
      </label>
      <span class="error" ng-show="discForm.amount.$error.required">Required!</span>
      <input type="number" name="amount" class="form-control" id="amount" min="0" placeholder="Input field" ng-model="currentDisc.Amount" required>
    </div>

    <div class="form-group">
      <label for="folding">Folding Allowed</label>
      <input type="number" class="form-control" name="folding" id="folding" ng-model="currentDisc.FoldingAllowed" min="0" requred>
    </div>

    <div class="form-group">
      <label ng-repeat="type in amountTypes">
        <input type="radio" name="optionsRadios" id="optionsRadios{{ type.id }}" ng-value="type.id" ng-model="currentDisc.AmountTypeId" ng-checked="$index < 1">
        {{ type.label }}
        <br>
      </label>
    </div>

    <button type="submit" class="btn btn-primary" >Submit</button>
  </form>
</div>